package com.deer.wms.base.system.service.box.impl;

import com.deer.wms.base.system.dao.box.BoxItemAreaMapper;
import com.deer.wms.base.system.model.box.AreaBoxItemHistory;
import com.deer.wms.base.system.model.box.BoxItemArea;
import com.deer.wms.base.system.service.box.BoxItemAreaService;
import com.deer.wms.common.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 李帅辰
 * @date 2021/6/20 14:16
 */
@Service
public class BoxItemAreaServiceImpl extends AbstractService<BoxItemArea, Integer> implements BoxItemAreaService {
    @Autowired
    private BoxItemAreaMapper boxItemAreaMapper;

    @Override
    public int saveBoxItemArea(BoxItemArea boxItemArea) {
        return boxItemAreaMapper.saveBoxItemArea(boxItemArea);
    }

    @Override
    public int updateBoxItemArea(BoxItemArea boxItemArea) {
        return boxItemAreaMapper.updateBoxItemArea(boxItemArea);
    }

    @Override
    public int delectBoxItemArea(Integer id) {
        return boxItemAreaMapper.delectBoxItemArea(id);
    }

}
